@Maximilian-Gerhardt expled=the led on the expansion board and this script runs a virtual key press in Blynk, I was trying to get the led to turn on and show a colour for the press and then show another colour when not pressed ?? I take it this is way off ?